package h3tcp;

import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;

public class ClientTest {
    public static void main(String[] args) throws IOException {
       Socket socket=new Socket("127.0.0.1",9999);

        OutputStream os=socket.getOutputStream();
        os.write("真的很无语".getBytes(StandardCharsets.UTF_8));
        socket.close();
    }
}
